package com.zzj.ecology.system.bean.purchase;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class FapdPurchaseExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public FapdPurchaseExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andPurchaseIdIsNull() {
            addCriterion("purchase_id is null");
            return (Criteria) this;
        }

        public Criteria andPurchaseIdIsNotNull() {
            addCriterion("purchase_id is not null");
            return (Criteria) this;
        }

        public Criteria andPurchaseIdEqualTo(String value) {
            addCriterion("purchase_id =", value, "purchaseId");
            return (Criteria) this;
        }

        public Criteria andPurchaseIdNotEqualTo(String value) {
            addCriterion("purchase_id <>", value, "purchaseId");
            return (Criteria) this;
        }

        public Criteria andPurchaseIdGreaterThan(String value) {
            addCriterion("purchase_id >", value, "purchaseId");
            return (Criteria) this;
        }

        public Criteria andPurchaseIdGreaterThanOrEqualTo(String value) {
            addCriterion("purchase_id >=", value, "purchaseId");
            return (Criteria) this;
        }

        public Criteria andPurchaseIdLessThan(String value) {
            addCriterion("purchase_id <", value, "purchaseId");
            return (Criteria) this;
        }

        public Criteria andPurchaseIdLessThanOrEqualTo(String value) {
            addCriterion("purchase_id <=", value, "purchaseId");
            return (Criteria) this;
        }

        public Criteria andPurchaseIdLike(String value) {
            addCriterion("purchase_id like", value, "purchaseId");
            return (Criteria) this;
        }

        public Criteria andPurchaseIdNotLike(String value) {
            addCriterion("purchase_id not like", value, "purchaseId");
            return (Criteria) this;
        }

        public Criteria andPurchaseIdIn(List<String> values) {
            addCriterion("purchase_id in", values, "purchaseId");
            return (Criteria) this;
        }

        public Criteria andPurchaseIdNotIn(List<String> values) {
            addCriterion("purchase_id not in", values, "purchaseId");
            return (Criteria) this;
        }

        public Criteria andPurchaseIdBetween(String value1, String value2) {
            addCriterion("purchase_id between", value1, value2, "purchaseId");
            return (Criteria) this;
        }

        public Criteria andPurchaseIdNotBetween(String value1, String value2) {
            addCriterion("purchase_id not between", value1, value2, "purchaseId");
            return (Criteria) this;
        }

        public Criteria andPurchaseAtIsNull() {
            addCriterion("purchase_at is null");
            return (Criteria) this;
        }

        public Criteria andPurchaseAtIsNotNull() {
            addCriterion("purchase_at is not null");
            return (Criteria) this;
        }

        public Criteria andPurchaseAtEqualTo(Date value) {
            addCriterion("purchase_at =", value, "purchaseAt");
            return (Criteria) this;
        }

        public Criteria andPurchaseAtNotEqualTo(Date value) {
            addCriterion("purchase_at <>", value, "purchaseAt");
            return (Criteria) this;
        }

        public Criteria andPurchaseAtGreaterThan(Date value) {
            addCriterion("purchase_at >", value, "purchaseAt");
            return (Criteria) this;
        }

        public Criteria andPurchaseAtGreaterThanOrEqualTo(Date value) {
            addCriterion("purchase_at >=", value, "purchaseAt");
            return (Criteria) this;
        }

        public Criteria andPurchaseAtLessThan(Date value) {
            addCriterion("purchase_at <", value, "purchaseAt");
            return (Criteria) this;
        }

        public Criteria andPurchaseAtLessThanOrEqualTo(Date value) {
            addCriterion("purchase_at <=", value, "purchaseAt");
            return (Criteria) this;
        }

        public Criteria andPurchaseAtIn(List<Date> values) {
            addCriterion("purchase_at in", values, "purchaseAt");
            return (Criteria) this;
        }

        public Criteria andPurchaseAtNotIn(List<Date> values) {
            addCriterion("purchase_at not in", values, "purchaseAt");
            return (Criteria) this;
        }

        public Criteria andPurchaseAtBetween(Date value1, Date value2) {
            addCriterion("purchase_at between", value1, value2, "purchaseAt");
            return (Criteria) this;
        }

        public Criteria andPurchaseAtNotBetween(Date value1, Date value2) {
            addCriterion("purchase_at not between", value1, value2, "purchaseAt");
            return (Criteria) this;
        }

        public Criteria andPurchaseDeptNameIsNull() {
            addCriterion("purchase_dept_name is null");
            return (Criteria) this;
        }

        public Criteria andPurchaseDeptNameIsNotNull() {
            addCriterion("purchase_dept_name is not null");
            return (Criteria) this;
        }

        public Criteria andPurchaseDeptNameEqualTo(String value) {
            addCriterion("purchase_dept_name =", value, "purchaseDeptName");
            return (Criteria) this;
        }

        public Criteria andPurchaseDeptNameNotEqualTo(String value) {
            addCriterion("purchase_dept_name <>", value, "purchaseDeptName");
            return (Criteria) this;
        }

        public Criteria andPurchaseDeptNameGreaterThan(String value) {
            addCriterion("purchase_dept_name >", value, "purchaseDeptName");
            return (Criteria) this;
        }

        public Criteria andPurchaseDeptNameGreaterThanOrEqualTo(String value) {
            addCriterion("purchase_dept_name >=", value, "purchaseDeptName");
            return (Criteria) this;
        }

        public Criteria andPurchaseDeptNameLessThan(String value) {
            addCriterion("purchase_dept_name <", value, "purchaseDeptName");
            return (Criteria) this;
        }

        public Criteria andPurchaseDeptNameLessThanOrEqualTo(String value) {
            addCriterion("purchase_dept_name <=", value, "purchaseDeptName");
            return (Criteria) this;
        }

        public Criteria andPurchaseDeptNameLike(String value) {
            addCriterion("purchase_dept_name like", value, "purchaseDeptName");
            return (Criteria) this;
        }

        public Criteria andPurchaseDeptNameNotLike(String value) {
            addCriterion("purchase_dept_name not like", value, "purchaseDeptName");
            return (Criteria) this;
        }

        public Criteria andPurchaseDeptNameIn(List<String> values) {
            addCriterion("purchase_dept_name in", values, "purchaseDeptName");
            return (Criteria) this;
        }

        public Criteria andPurchaseDeptNameNotIn(List<String> values) {
            addCriterion("purchase_dept_name not in", values, "purchaseDeptName");
            return (Criteria) this;
        }

        public Criteria andPurchaseDeptNameBetween(String value1, String value2) {
            addCriterion("purchase_dept_name between", value1, value2, "purchaseDeptName");
            return (Criteria) this;
        }

        public Criteria andPurchaseDeptNameNotBetween(String value1, String value2) {
            addCriterion("purchase_dept_name not between", value1, value2, "purchaseDeptName");
            return (Criteria) this;
        }

        public Criteria andPurchaseManagerNameIsNull() {
            addCriterion("purchase_manager_name is null");
            return (Criteria) this;
        }

        public Criteria andPurchaseManagerNameIsNotNull() {
            addCriterion("purchase_manager_name is not null");
            return (Criteria) this;
        }

        public Criteria andPurchaseManagerNameEqualTo(String value) {
            addCriterion("purchase_manager_name =", value, "purchaseManagerName");
            return (Criteria) this;
        }

        public Criteria andPurchaseManagerNameNotEqualTo(String value) {
            addCriterion("purchase_manager_name <>", value, "purchaseManagerName");
            return (Criteria) this;
        }

        public Criteria andPurchaseManagerNameGreaterThan(String value) {
            addCriterion("purchase_manager_name >", value, "purchaseManagerName");
            return (Criteria) this;
        }

        public Criteria andPurchaseManagerNameGreaterThanOrEqualTo(String value) {
            addCriterion("purchase_manager_name >=", value, "purchaseManagerName");
            return (Criteria) this;
        }

        public Criteria andPurchaseManagerNameLessThan(String value) {
            addCriterion("purchase_manager_name <", value, "purchaseManagerName");
            return (Criteria) this;
        }

        public Criteria andPurchaseManagerNameLessThanOrEqualTo(String value) {
            addCriterion("purchase_manager_name <=", value, "purchaseManagerName");
            return (Criteria) this;
        }

        public Criteria andPurchaseManagerNameLike(String value) {
            addCriterion("purchase_manager_name like", value, "purchaseManagerName");
            return (Criteria) this;
        }

        public Criteria andPurchaseManagerNameNotLike(String value) {
            addCriterion("purchase_manager_name not like", value, "purchaseManagerName");
            return (Criteria) this;
        }

        public Criteria andPurchaseManagerNameIn(List<String> values) {
            addCriterion("purchase_manager_name in", values, "purchaseManagerName");
            return (Criteria) this;
        }

        public Criteria andPurchaseManagerNameNotIn(List<String> values) {
            addCriterion("purchase_manager_name not in", values, "purchaseManagerName");
            return (Criteria) this;
        }

        public Criteria andPurchaseManagerNameBetween(String value1, String value2) {
            addCriterion("purchase_manager_name between", value1, value2, "purchaseManagerName");
            return (Criteria) this;
        }

        public Criteria andPurchaseManagerNameNotBetween(String value1, String value2) {
            addCriterion("purchase_manager_name not between", value1, value2, "purchaseManagerName");
            return (Criteria) this;
        }

        public Criteria andPurchaseChiefNameIsNull() {
            addCriterion("purchase_chief_name is null");
            return (Criteria) this;
        }

        public Criteria andPurchaseChiefNameIsNotNull() {
            addCriterion("purchase_chief_name is not null");
            return (Criteria) this;
        }

        public Criteria andPurchaseChiefNameEqualTo(String value) {
            addCriterion("purchase_chief_name =", value, "purchaseChiefName");
            return (Criteria) this;
        }

        public Criteria andPurchaseChiefNameNotEqualTo(String value) {
            addCriterion("purchase_chief_name <>", value, "purchaseChiefName");
            return (Criteria) this;
        }

        public Criteria andPurchaseChiefNameGreaterThan(String value) {
            addCriterion("purchase_chief_name >", value, "purchaseChiefName");
            return (Criteria) this;
        }

        public Criteria andPurchaseChiefNameGreaterThanOrEqualTo(String value) {
            addCriterion("purchase_chief_name >=", value, "purchaseChiefName");
            return (Criteria) this;
        }

        public Criteria andPurchaseChiefNameLessThan(String value) {
            addCriterion("purchase_chief_name <", value, "purchaseChiefName");
            return (Criteria) this;
        }

        public Criteria andPurchaseChiefNameLessThanOrEqualTo(String value) {
            addCriterion("purchase_chief_name <=", value, "purchaseChiefName");
            return (Criteria) this;
        }

        public Criteria andPurchaseChiefNameLike(String value) {
            addCriterion("purchase_chief_name like", value, "purchaseChiefName");
            return (Criteria) this;
        }

        public Criteria andPurchaseChiefNameNotLike(String value) {
            addCriterion("purchase_chief_name not like", value, "purchaseChiefName");
            return (Criteria) this;
        }

        public Criteria andPurchaseChiefNameIn(List<String> values) {
            addCriterion("purchase_chief_name in", values, "purchaseChiefName");
            return (Criteria) this;
        }

        public Criteria andPurchaseChiefNameNotIn(List<String> values) {
            addCriterion("purchase_chief_name not in", values, "purchaseChiefName");
            return (Criteria) this;
        }

        public Criteria andPurchaseChiefNameBetween(String value1, String value2) {
            addCriterion("purchase_chief_name between", value1, value2, "purchaseChiefName");
            return (Criteria) this;
        }

        public Criteria andPurchaseChiefNameNotBetween(String value1, String value2) {
            addCriterion("purchase_chief_name not between", value1, value2, "purchaseChiefName");
            return (Criteria) this;
        }

        public Criteria andPurchaseDeptLabelIsNull() {
            addCriterion("purchase_dept_label is null");
            return (Criteria) this;
        }

        public Criteria andPurchaseDeptLabelIsNotNull() {
            addCriterion("purchase_dept_label is not null");
            return (Criteria) this;
        }

        public Criteria andPurchaseDeptLabelEqualTo(String value) {
            addCriterion("purchase_dept_label =", value, "purchaseDeptLabel");
            return (Criteria) this;
        }

        public Criteria andPurchaseDeptLabelNotEqualTo(String value) {
            addCriterion("purchase_dept_label <>", value, "purchaseDeptLabel");
            return (Criteria) this;
        }

        public Criteria andPurchaseDeptLabelGreaterThan(String value) {
            addCriterion("purchase_dept_label >", value, "purchaseDeptLabel");
            return (Criteria) this;
        }

        public Criteria andPurchaseDeptLabelGreaterThanOrEqualTo(String value) {
            addCriterion("purchase_dept_label >=", value, "purchaseDeptLabel");
            return (Criteria) this;
        }

        public Criteria andPurchaseDeptLabelLessThan(String value) {
            addCriterion("purchase_dept_label <", value, "purchaseDeptLabel");
            return (Criteria) this;
        }

        public Criteria andPurchaseDeptLabelLessThanOrEqualTo(String value) {
            addCriterion("purchase_dept_label <=", value, "purchaseDeptLabel");
            return (Criteria) this;
        }

        public Criteria andPurchaseDeptLabelLike(String value) {
            addCriterion("purchase_dept_label like", value, "purchaseDeptLabel");
            return (Criteria) this;
        }

        public Criteria andPurchaseDeptLabelNotLike(String value) {
            addCriterion("purchase_dept_label not like", value, "purchaseDeptLabel");
            return (Criteria) this;
        }

        public Criteria andPurchaseDeptLabelIn(List<String> values) {
            addCriterion("purchase_dept_label in", values, "purchaseDeptLabel");
            return (Criteria) this;
        }

        public Criteria andPurchaseDeptLabelNotIn(List<String> values) {
            addCriterion("purchase_dept_label not in", values, "purchaseDeptLabel");
            return (Criteria) this;
        }

        public Criteria andPurchaseDeptLabelBetween(String value1, String value2) {
            addCriterion("purchase_dept_label between", value1, value2, "purchaseDeptLabel");
            return (Criteria) this;
        }

        public Criteria andPurchaseDeptLabelNotBetween(String value1, String value2) {
            addCriterion("purchase_dept_label not between", value1, value2, "purchaseDeptLabel");
            return (Criteria) this;
        }

        public Criteria andCategoryidItemidIsNull() {
            addCriterion("categoryid_itemid is null");
            return (Criteria) this;
        }

        public Criteria andCategoryidItemidIsNotNull() {
            addCriterion("categoryid_itemid is not null");
            return (Criteria) this;
        }

        public Criteria andCategoryidItemidEqualTo(String value) {
            addCriterion("categoryid_itemid =", value, "categoryidItemid");
            return (Criteria) this;
        }

        public Criteria andCategoryidItemidNotEqualTo(String value) {
            addCriterion("categoryid_itemid <>", value, "categoryidItemid");
            return (Criteria) this;
        }

        public Criteria andCategoryidItemidGreaterThan(String value) {
            addCriterion("categoryid_itemid >", value, "categoryidItemid");
            return (Criteria) this;
        }

        public Criteria andCategoryidItemidGreaterThanOrEqualTo(String value) {
            addCriterion("categoryid_itemid >=", value, "categoryidItemid");
            return (Criteria) this;
        }

        public Criteria andCategoryidItemidLessThan(String value) {
            addCriterion("categoryid_itemid <", value, "categoryidItemid");
            return (Criteria) this;
        }

        public Criteria andCategoryidItemidLessThanOrEqualTo(String value) {
            addCriterion("categoryid_itemid <=", value, "categoryidItemid");
            return (Criteria) this;
        }

        public Criteria andCategoryidItemidLike(String value) {
            addCriterion("categoryid_itemid like", value, "categoryidItemid");
            return (Criteria) this;
        }

        public Criteria andCategoryidItemidNotLike(String value) {
            addCriterion("categoryid_itemid not like", value, "categoryidItemid");
            return (Criteria) this;
        }

        public Criteria andCategoryidItemidIn(List<String> values) {
            addCriterion("categoryid_itemid in", values, "categoryidItemid");
            return (Criteria) this;
        }

        public Criteria andCategoryidItemidNotIn(List<String> values) {
            addCriterion("categoryid_itemid not in", values, "categoryidItemid");
            return (Criteria) this;
        }

        public Criteria andCategoryidItemidBetween(String value1, String value2) {
            addCriterion("categoryid_itemid between", value1, value2, "categoryidItemid");
            return (Criteria) this;
        }

        public Criteria andCategoryidItemidNotBetween(String value1, String value2) {
            addCriterion("categoryid_itemid not between", value1, value2, "categoryidItemid");
            return (Criteria) this;
        }

        public Criteria andExpenditureClassIsNull() {
            addCriterion("expenditure_class is null");
            return (Criteria) this;
        }

        public Criteria andExpenditureClassIsNotNull() {
            addCriterion("expenditure_class is not null");
            return (Criteria) this;
        }

        public Criteria andExpenditureClassEqualTo(String value) {
            addCriterion("expenditure_class =", value, "expenditureClass");
            return (Criteria) this;
        }

        public Criteria andExpenditureClassNotEqualTo(String value) {
            addCriterion("expenditure_class <>", value, "expenditureClass");
            return (Criteria) this;
        }

        public Criteria andExpenditureClassGreaterThan(String value) {
            addCriterion("expenditure_class >", value, "expenditureClass");
            return (Criteria) this;
        }

        public Criteria andExpenditureClassGreaterThanOrEqualTo(String value) {
            addCriterion("expenditure_class >=", value, "expenditureClass");
            return (Criteria) this;
        }

        public Criteria andExpenditureClassLessThan(String value) {
            addCriterion("expenditure_class <", value, "expenditureClass");
            return (Criteria) this;
        }

        public Criteria andExpenditureClassLessThanOrEqualTo(String value) {
            addCriterion("expenditure_class <=", value, "expenditureClass");
            return (Criteria) this;
        }

        public Criteria andExpenditureClassLike(String value) {
            addCriterion("expenditure_class like", value, "expenditureClass");
            return (Criteria) this;
        }

        public Criteria andExpenditureClassNotLike(String value) {
            addCriterion("expenditure_class not like", value, "expenditureClass");
            return (Criteria) this;
        }

        public Criteria andExpenditureClassIn(List<String> values) {
            addCriterion("expenditure_class in", values, "expenditureClass");
            return (Criteria) this;
        }

        public Criteria andExpenditureClassNotIn(List<String> values) {
            addCriterion("expenditure_class not in", values, "expenditureClass");
            return (Criteria) this;
        }

        public Criteria andExpenditureClassBetween(String value1, String value2) {
            addCriterion("expenditure_class between", value1, value2, "expenditureClass");
            return (Criteria) this;
        }

        public Criteria andExpenditureClassNotBetween(String value1, String value2) {
            addCriterion("expenditure_class not between", value1, value2, "expenditureClass");
            return (Criteria) this;
        }

        public Criteria andGoodNameIsNull() {
            addCriterion("good_name is null");
            return (Criteria) this;
        }

        public Criteria andGoodNameIsNotNull() {
            addCriterion("good_name is not null");
            return (Criteria) this;
        }

        public Criteria andGoodNameEqualTo(String value) {
            addCriterion("good_name =", value, "goodName");
            return (Criteria) this;
        }

        public Criteria andGoodNameNotEqualTo(String value) {
            addCriterion("good_name <>", value, "goodName");
            return (Criteria) this;
        }

        public Criteria andGoodNameGreaterThan(String value) {
            addCriterion("good_name >", value, "goodName");
            return (Criteria) this;
        }

        public Criteria andGoodNameGreaterThanOrEqualTo(String value) {
            addCriterion("good_name >=", value, "goodName");
            return (Criteria) this;
        }

        public Criteria andGoodNameLessThan(String value) {
            addCriterion("good_name <", value, "goodName");
            return (Criteria) this;
        }

        public Criteria andGoodNameLessThanOrEqualTo(String value) {
            addCriterion("good_name <=", value, "goodName");
            return (Criteria) this;
        }

        public Criteria andGoodNameLike(String value) {
            addCriterion("good_name like", value, "goodName");
            return (Criteria) this;
        }

        public Criteria andGoodNameNotLike(String value) {
            addCriterion("good_name not like", value, "goodName");
            return (Criteria) this;
        }

        public Criteria andGoodNameIn(List<String> values) {
            addCriterion("good_name in", values, "goodName");
            return (Criteria) this;
        }

        public Criteria andGoodNameNotIn(List<String> values) {
            addCriterion("good_name not in", values, "goodName");
            return (Criteria) this;
        }

        public Criteria andGoodNameBetween(String value1, String value2) {
            addCriterion("good_name between", value1, value2, "goodName");
            return (Criteria) this;
        }

        public Criteria andGoodNameNotBetween(String value1, String value2) {
            addCriterion("good_name not between", value1, value2, "goodName");
            return (Criteria) this;
        }

        public Criteria andGoodSpecIsNull() {
            addCriterion("good_spec is null");
            return (Criteria) this;
        }

        public Criteria andGoodSpecIsNotNull() {
            addCriterion("good_spec is not null");
            return (Criteria) this;
        }

        public Criteria andGoodSpecEqualTo(String value) {
            addCriterion("good_spec =", value, "goodSpec");
            return (Criteria) this;
        }

        public Criteria andGoodSpecNotEqualTo(String value) {
            addCriterion("good_spec <>", value, "goodSpec");
            return (Criteria) this;
        }

        public Criteria andGoodSpecGreaterThan(String value) {
            addCriterion("good_spec >", value, "goodSpec");
            return (Criteria) this;
        }

        public Criteria andGoodSpecGreaterThanOrEqualTo(String value) {
            addCriterion("good_spec >=", value, "goodSpec");
            return (Criteria) this;
        }

        public Criteria andGoodSpecLessThan(String value) {
            addCriterion("good_spec <", value, "goodSpec");
            return (Criteria) this;
        }

        public Criteria andGoodSpecLessThanOrEqualTo(String value) {
            addCriterion("good_spec <=", value, "goodSpec");
            return (Criteria) this;
        }

        public Criteria andGoodSpecLike(String value) {
            addCriterion("good_spec like", value, "goodSpec");
            return (Criteria) this;
        }

        public Criteria andGoodSpecNotLike(String value) {
            addCriterion("good_spec not like", value, "goodSpec");
            return (Criteria) this;
        }

        public Criteria andGoodSpecIn(List<String> values) {
            addCriterion("good_spec in", values, "goodSpec");
            return (Criteria) this;
        }

        public Criteria andGoodSpecNotIn(List<String> values) {
            addCriterion("good_spec not in", values, "goodSpec");
            return (Criteria) this;
        }

        public Criteria andGoodSpecBetween(String value1, String value2) {
            addCriterion("good_spec between", value1, value2, "goodSpec");
            return (Criteria) this;
        }

        public Criteria andGoodSpecNotBetween(String value1, String value2) {
            addCriterion("good_spec not between", value1, value2, "goodSpec");
            return (Criteria) this;
        }

        public Criteria andGoodQtyIsNull() {
            addCriterion("good_qty is null");
            return (Criteria) this;
        }

        public Criteria andGoodQtyIsNotNull() {
            addCriterion("good_qty is not null");
            return (Criteria) this;
        }

        public Criteria andGoodQtyEqualTo(Double value) {
            addCriterion("good_qty =", value, "goodQty");
            return (Criteria) this;
        }

        public Criteria andGoodQtyNotEqualTo(Double value) {
            addCriterion("good_qty <>", value, "goodQty");
            return (Criteria) this;
        }

        public Criteria andGoodQtyGreaterThan(Double value) {
            addCriterion("good_qty >", value, "goodQty");
            return (Criteria) this;
        }

        public Criteria andGoodQtyGreaterThanOrEqualTo(Double value) {
            addCriterion("good_qty >=", value, "goodQty");
            return (Criteria) this;
        }

        public Criteria andGoodQtyLessThan(Double value) {
            addCriterion("good_qty <", value, "goodQty");
            return (Criteria) this;
        }

        public Criteria andGoodQtyLessThanOrEqualTo(Double value) {
            addCriterion("good_qty <=", value, "goodQty");
            return (Criteria) this;
        }

        public Criteria andGoodQtyIn(List<Double> values) {
            addCriterion("good_qty in", values, "goodQty");
            return (Criteria) this;
        }

        public Criteria andGoodQtyNotIn(List<Double> values) {
            addCriterion("good_qty not in", values, "goodQty");
            return (Criteria) this;
        }

        public Criteria andGoodQtyBetween(Double value1, Double value2) {
            addCriterion("good_qty between", value1, value2, "goodQty");
            return (Criteria) this;
        }

        public Criteria andGoodQtyNotBetween(Double value1, Double value2) {
            addCriterion("good_qty not between", value1, value2, "goodQty");
            return (Criteria) this;
        }

        public Criteria andGoodUnitIsNull() {
            addCriterion("good_unit is null");
            return (Criteria) this;
        }

        public Criteria andGoodUnitIsNotNull() {
            addCriterion("good_unit is not null");
            return (Criteria) this;
        }

        public Criteria andGoodUnitEqualTo(String value) {
            addCriterion("good_unit =", value, "goodUnit");
            return (Criteria) this;
        }

        public Criteria andGoodUnitNotEqualTo(String value) {
            addCriterion("good_unit <>", value, "goodUnit");
            return (Criteria) this;
        }

        public Criteria andGoodUnitGreaterThan(String value) {
            addCriterion("good_unit >", value, "goodUnit");
            return (Criteria) this;
        }

        public Criteria andGoodUnitGreaterThanOrEqualTo(String value) {
            addCriterion("good_unit >=", value, "goodUnit");
            return (Criteria) this;
        }

        public Criteria andGoodUnitLessThan(String value) {
            addCriterion("good_unit <", value, "goodUnit");
            return (Criteria) this;
        }

        public Criteria andGoodUnitLessThanOrEqualTo(String value) {
            addCriterion("good_unit <=", value, "goodUnit");
            return (Criteria) this;
        }

        public Criteria andGoodUnitLike(String value) {
            addCriterion("good_unit like", value, "goodUnit");
            return (Criteria) this;
        }

        public Criteria andGoodUnitNotLike(String value) {
            addCriterion("good_unit not like", value, "goodUnit");
            return (Criteria) this;
        }

        public Criteria andGoodUnitIn(List<String> values) {
            addCriterion("good_unit in", values, "goodUnit");
            return (Criteria) this;
        }

        public Criteria andGoodUnitNotIn(List<String> values) {
            addCriterion("good_unit not in", values, "goodUnit");
            return (Criteria) this;
        }

        public Criteria andGoodUnitBetween(String value1, String value2) {
            addCriterion("good_unit between", value1, value2, "goodUnit");
            return (Criteria) this;
        }

        public Criteria andGoodUnitNotBetween(String value1, String value2) {
            addCriterion("good_unit not between", value1, value2, "goodUnit");
            return (Criteria) this;
        }

        public Criteria andGoodPriceIsNull() {
            addCriterion("good_price is null");
            return (Criteria) this;
        }

        public Criteria andGoodPriceIsNotNull() {
            addCriterion("good_price is not null");
            return (Criteria) this;
        }

        public Criteria andGoodPriceEqualTo(Double value) {
            addCriterion("good_price =", value, "goodPrice");
            return (Criteria) this;
        }

        public Criteria andGoodPriceNotEqualTo(Double value) {
            addCriterion("good_price <>", value, "goodPrice");
            return (Criteria) this;
        }

        public Criteria andGoodPriceGreaterThan(Double value) {
            addCriterion("good_price >", value, "goodPrice");
            return (Criteria) this;
        }

        public Criteria andGoodPriceGreaterThanOrEqualTo(Double value) {
            addCriterion("good_price >=", value, "goodPrice");
            return (Criteria) this;
        }

        public Criteria andGoodPriceLessThan(Double value) {
            addCriterion("good_price <", value, "goodPrice");
            return (Criteria) this;
        }

        public Criteria andGoodPriceLessThanOrEqualTo(Double value) {
            addCriterion("good_price <=", value, "goodPrice");
            return (Criteria) this;
        }

        public Criteria andGoodPriceIn(List<Double> values) {
            addCriterion("good_price in", values, "goodPrice");
            return (Criteria) this;
        }

        public Criteria andGoodPriceNotIn(List<Double> values) {
            addCriterion("good_price not in", values, "goodPrice");
            return (Criteria) this;
        }

        public Criteria andGoodPriceBetween(Double value1, Double value2) {
            addCriterion("good_price between", value1, value2, "goodPrice");
            return (Criteria) this;
        }

        public Criteria andGoodPriceNotBetween(Double value1, Double value2) {
            addCriterion("good_price not between", value1, value2, "goodPrice");
            return (Criteria) this;
        }

        public Criteria andGoodSubPriceIsNull() {
            addCriterion("good_sub_price is null");
            return (Criteria) this;
        }

        public Criteria andGoodSubPriceIsNotNull() {
            addCriterion("good_sub_price is not null");
            return (Criteria) this;
        }

        public Criteria andGoodSubPriceEqualTo(Double value) {
            addCriterion("good_sub_price =", value, "goodSubPrice");
            return (Criteria) this;
        }

        public Criteria andGoodSubPriceNotEqualTo(Double value) {
            addCriterion("good_sub_price <>", value, "goodSubPrice");
            return (Criteria) this;
        }

        public Criteria andGoodSubPriceGreaterThan(Double value) {
            addCriterion("good_sub_price >", value, "goodSubPrice");
            return (Criteria) this;
        }

        public Criteria andGoodSubPriceGreaterThanOrEqualTo(Double value) {
            addCriterion("good_sub_price >=", value, "goodSubPrice");
            return (Criteria) this;
        }

        public Criteria andGoodSubPriceLessThan(Double value) {
            addCriterion("good_sub_price <", value, "goodSubPrice");
            return (Criteria) this;
        }

        public Criteria andGoodSubPriceLessThanOrEqualTo(Double value) {
            addCriterion("good_sub_price <=", value, "goodSubPrice");
            return (Criteria) this;
        }

        public Criteria andGoodSubPriceIn(List<Double> values) {
            addCriterion("good_sub_price in", values, "goodSubPrice");
            return (Criteria) this;
        }

        public Criteria andGoodSubPriceNotIn(List<Double> values) {
            addCriterion("good_sub_price not in", values, "goodSubPrice");
            return (Criteria) this;
        }

        public Criteria andGoodSubPriceBetween(Double value1, Double value2) {
            addCriterion("good_sub_price between", value1, value2, "goodSubPrice");
            return (Criteria) this;
        }

        public Criteria andGoodSubPriceNotBetween(Double value1, Double value2) {
            addCriterion("good_sub_price not between", value1, value2, "goodSubPrice");
            return (Criteria) this;
        }

        public Criteria andGoodExpiredAtIsNull() {
            addCriterion("good_expired_at is null");
            return (Criteria) this;
        }

        public Criteria andGoodExpiredAtIsNotNull() {
            addCriterion("good_expired_at is not null");
            return (Criteria) this;
        }

        public Criteria andGoodExpiredAtEqualTo(Date value) {
            addCriterion("good_expired_at =", value, "goodExpiredAt");
            return (Criteria) this;
        }

        public Criteria andGoodExpiredAtNotEqualTo(Date value) {
            addCriterion("good_expired_at <>", value, "goodExpiredAt");
            return (Criteria) this;
        }

        public Criteria andGoodExpiredAtGreaterThan(Date value) {
            addCriterion("good_expired_at >", value, "goodExpiredAt");
            return (Criteria) this;
        }

        public Criteria andGoodExpiredAtGreaterThanOrEqualTo(Date value) {
            addCriterion("good_expired_at >=", value, "goodExpiredAt");
            return (Criteria) this;
        }

        public Criteria andGoodExpiredAtLessThan(Date value) {
            addCriterion("good_expired_at <", value, "goodExpiredAt");
            return (Criteria) this;
        }

        public Criteria andGoodExpiredAtLessThanOrEqualTo(Date value) {
            addCriterion("good_expired_at <=", value, "goodExpiredAt");
            return (Criteria) this;
        }

        public Criteria andGoodExpiredAtIn(List<Date> values) {
            addCriterion("good_expired_at in", values, "goodExpiredAt");
            return (Criteria) this;
        }

        public Criteria andGoodExpiredAtNotIn(List<Date> values) {
            addCriterion("good_expired_at not in", values, "goodExpiredAt");
            return (Criteria) this;
        }

        public Criteria andGoodExpiredAtBetween(Date value1, Date value2) {
            addCriterion("good_expired_at between", value1, value2, "goodExpiredAt");
            return (Criteria) this;
        }

        public Criteria andGoodExpiredAtNotBetween(Date value1, Date value2) {
            addCriterion("good_expired_at not between", value1, value2, "goodExpiredAt");
            return (Criteria) this;
        }

        public Criteria andGoodUseForIsNull() {
            addCriterion("good_use_for is null");
            return (Criteria) this;
        }

        public Criteria andGoodUseForIsNotNull() {
            addCriterion("good_use_for is not null");
            return (Criteria) this;
        }

        public Criteria andGoodUseForEqualTo(String value) {
            addCriterion("good_use_for =", value, "goodUseFor");
            return (Criteria) this;
        }

        public Criteria andGoodUseForNotEqualTo(String value) {
            addCriterion("good_use_for <>", value, "goodUseFor");
            return (Criteria) this;
        }

        public Criteria andGoodUseForGreaterThan(String value) {
            addCriterion("good_use_for >", value, "goodUseFor");
            return (Criteria) this;
        }

        public Criteria andGoodUseForGreaterThanOrEqualTo(String value) {
            addCriterion("good_use_for >=", value, "goodUseFor");
            return (Criteria) this;
        }

        public Criteria andGoodUseForLessThan(String value) {
            addCriterion("good_use_for <", value, "goodUseFor");
            return (Criteria) this;
        }

        public Criteria andGoodUseForLessThanOrEqualTo(String value) {
            addCriterion("good_use_for <=", value, "goodUseFor");
            return (Criteria) this;
        }

        public Criteria andGoodUseForLike(String value) {
            addCriterion("good_use_for like", value, "goodUseFor");
            return (Criteria) this;
        }

        public Criteria andGoodUseForNotLike(String value) {
            addCriterion("good_use_for not like", value, "goodUseFor");
            return (Criteria) this;
        }

        public Criteria andGoodUseForIn(List<String> values) {
            addCriterion("good_use_for in", values, "goodUseFor");
            return (Criteria) this;
        }

        public Criteria andGoodUseForNotIn(List<String> values) {
            addCriterion("good_use_for not in", values, "goodUseFor");
            return (Criteria) this;
        }

        public Criteria andGoodUseForBetween(String value1, String value2) {
            addCriterion("good_use_for between", value1, value2, "goodUseFor");
            return (Criteria) this;
        }

        public Criteria andGoodUseForNotBetween(String value1, String value2) {
            addCriterion("good_use_for not between", value1, value2, "goodUseFor");
            return (Criteria) this;
        }

        public Criteria andGoodCommentIsNull() {
            addCriterion("good_comment is null");
            return (Criteria) this;
        }

        public Criteria andGoodCommentIsNotNull() {
            addCriterion("good_comment is not null");
            return (Criteria) this;
        }

        public Criteria andGoodCommentEqualTo(String value) {
            addCriterion("good_comment =", value, "goodComment");
            return (Criteria) this;
        }

        public Criteria andGoodCommentNotEqualTo(String value) {
            addCriterion("good_comment <>", value, "goodComment");
            return (Criteria) this;
        }

        public Criteria andGoodCommentGreaterThan(String value) {
            addCriterion("good_comment >", value, "goodComment");
            return (Criteria) this;
        }

        public Criteria andGoodCommentGreaterThanOrEqualTo(String value) {
            addCriterion("good_comment >=", value, "goodComment");
            return (Criteria) this;
        }

        public Criteria andGoodCommentLessThan(String value) {
            addCriterion("good_comment <", value, "goodComment");
            return (Criteria) this;
        }

        public Criteria andGoodCommentLessThanOrEqualTo(String value) {
            addCriterion("good_comment <=", value, "goodComment");
            return (Criteria) this;
        }

        public Criteria andGoodCommentLike(String value) {
            addCriterion("good_comment like", value, "goodComment");
            return (Criteria) this;
        }

        public Criteria andGoodCommentNotLike(String value) {
            addCriterion("good_comment not like", value, "goodComment");
            return (Criteria) this;
        }

        public Criteria andGoodCommentIn(List<String> values) {
            addCriterion("good_comment in", values, "goodComment");
            return (Criteria) this;
        }

        public Criteria andGoodCommentNotIn(List<String> values) {
            addCriterion("good_comment not in", values, "goodComment");
            return (Criteria) this;
        }

        public Criteria andGoodCommentBetween(String value1, String value2) {
            addCriterion("good_comment between", value1, value2, "goodComment");
            return (Criteria) this;
        }

        public Criteria andGoodCommentNotBetween(String value1, String value2) {
            addCriterion("good_comment not between", value1, value2, "goodComment");
            return (Criteria) this;
        }

        public Criteria andBuyerIsNull() {
            addCriterion("buyer is null");
            return (Criteria) this;
        }

        public Criteria andBuyerIsNotNull() {
            addCriterion("buyer is not null");
            return (Criteria) this;
        }

        public Criteria andBuyerEqualTo(String value) {
            addCriterion("buyer =", value, "buyer");
            return (Criteria) this;
        }

        public Criteria andBuyerNotEqualTo(String value) {
            addCriterion("buyer <>", value, "buyer");
            return (Criteria) this;
        }

        public Criteria andBuyerGreaterThan(String value) {
            addCriterion("buyer >", value, "buyer");
            return (Criteria) this;
        }

        public Criteria andBuyerGreaterThanOrEqualTo(String value) {
            addCriterion("buyer >=", value, "buyer");
            return (Criteria) this;
        }

        public Criteria andBuyerLessThan(String value) {
            addCriterion("buyer <", value, "buyer");
            return (Criteria) this;
        }

        public Criteria andBuyerLessThanOrEqualTo(String value) {
            addCriterion("buyer <=", value, "buyer");
            return (Criteria) this;
        }

        public Criteria andBuyerLike(String value) {
            addCriterion("buyer like", value, "buyer");
            return (Criteria) this;
        }

        public Criteria andBuyerNotLike(String value) {
            addCriterion("buyer not like", value, "buyer");
            return (Criteria) this;
        }

        public Criteria andBuyerIn(List<String> values) {
            addCriterion("buyer in", values, "buyer");
            return (Criteria) this;
        }

        public Criteria andBuyerNotIn(List<String> values) {
            addCriterion("buyer not in", values, "buyer");
            return (Criteria) this;
        }

        public Criteria andBuyerBetween(String value1, String value2) {
            addCriterion("buyer between", value1, value2, "buyer");
            return (Criteria) this;
        }

        public Criteria andBuyerNotBetween(String value1, String value2) {
            addCriterion("buyer not between", value1, value2, "buyer");
            return (Criteria) this;
        }

        public Criteria andCheckedByChiefIsNull() {
            addCriterion("checked_by_chief is null");
            return (Criteria) this;
        }

        public Criteria andCheckedByChiefIsNotNull() {
            addCriterion("checked_by_chief is not null");
            return (Criteria) this;
        }

        public Criteria andCheckedByChiefEqualTo(String value) {
            addCriterion("checked_by_chief =", value, "checkedByChief");
            return (Criteria) this;
        }

        public Criteria andCheckedByChiefNotEqualTo(String value) {
            addCriterion("checked_by_chief <>", value, "checkedByChief");
            return (Criteria) this;
        }

        public Criteria andCheckedByChiefGreaterThan(String value) {
            addCriterion("checked_by_chief >", value, "checkedByChief");
            return (Criteria) this;
        }

        public Criteria andCheckedByChiefGreaterThanOrEqualTo(String value) {
            addCriterion("checked_by_chief >=", value, "checkedByChief");
            return (Criteria) this;
        }

        public Criteria andCheckedByChiefLessThan(String value) {
            addCriterion("checked_by_chief <", value, "checkedByChief");
            return (Criteria) this;
        }

        public Criteria andCheckedByChiefLessThanOrEqualTo(String value) {
            addCriterion("checked_by_chief <=", value, "checkedByChief");
            return (Criteria) this;
        }

        public Criteria andCheckedByChiefLike(String value) {
            addCriterion("checked_by_chief like", value, "checkedByChief");
            return (Criteria) this;
        }

        public Criteria andCheckedByChiefNotLike(String value) {
            addCriterion("checked_by_chief not like", value, "checkedByChief");
            return (Criteria) this;
        }

        public Criteria andCheckedByChiefIn(List<String> values) {
            addCriterion("checked_by_chief in", values, "checkedByChief");
            return (Criteria) this;
        }

        public Criteria andCheckedByChiefNotIn(List<String> values) {
            addCriterion("checked_by_chief not in", values, "checkedByChief");
            return (Criteria) this;
        }

        public Criteria andCheckedByChiefBetween(String value1, String value2) {
            addCriterion("checked_by_chief between", value1, value2, "checkedByChief");
            return (Criteria) this;
        }

        public Criteria andCheckedByChiefNotBetween(String value1, String value2) {
            addCriterion("checked_by_chief not between", value1, value2, "checkedByChief");
            return (Criteria) this;
        }

        public Criteria andCheckedByManagerIsNull() {
            addCriterion("checked_by_manager is null");
            return (Criteria) this;
        }

        public Criteria andCheckedByManagerIsNotNull() {
            addCriterion("checked_by_manager is not null");
            return (Criteria) this;
        }

        public Criteria andCheckedByManagerEqualTo(String value) {
            addCriterion("checked_by_manager =", value, "checkedByManager");
            return (Criteria) this;
        }

        public Criteria andCheckedByManagerNotEqualTo(String value) {
            addCriterion("checked_by_manager <>", value, "checkedByManager");
            return (Criteria) this;
        }

        public Criteria andCheckedByManagerGreaterThan(String value) {
            addCriterion("checked_by_manager >", value, "checkedByManager");
            return (Criteria) this;
        }

        public Criteria andCheckedByManagerGreaterThanOrEqualTo(String value) {
            addCriterion("checked_by_manager >=", value, "checkedByManager");
            return (Criteria) this;
        }

        public Criteria andCheckedByManagerLessThan(String value) {
            addCriterion("checked_by_manager <", value, "checkedByManager");
            return (Criteria) this;
        }

        public Criteria andCheckedByManagerLessThanOrEqualTo(String value) {
            addCriterion("checked_by_manager <=", value, "checkedByManager");
            return (Criteria) this;
        }

        public Criteria andCheckedByManagerLike(String value) {
            addCriterion("checked_by_manager like", value, "checkedByManager");
            return (Criteria) this;
        }

        public Criteria andCheckedByManagerNotLike(String value) {
            addCriterion("checked_by_manager not like", value, "checkedByManager");
            return (Criteria) this;
        }

        public Criteria andCheckedByManagerIn(List<String> values) {
            addCriterion("checked_by_manager in", values, "checkedByManager");
            return (Criteria) this;
        }

        public Criteria andCheckedByManagerNotIn(List<String> values) {
            addCriterion("checked_by_manager not in", values, "checkedByManager");
            return (Criteria) this;
        }

        public Criteria andCheckedByManagerBetween(String value1, String value2) {
            addCriterion("checked_by_manager between", value1, value2, "checkedByManager");
            return (Criteria) this;
        }

        public Criteria andCheckedByManagerNotBetween(String value1, String value2) {
            addCriterion("checked_by_manager not between", value1, value2, "checkedByManager");
            return (Criteria) this;
        }

        public Criteria andAdmittedByMinisterIsNull() {
            addCriterion("admitted_by_minister is null");
            return (Criteria) this;
        }

        public Criteria andAdmittedByMinisterIsNotNull() {
            addCriterion("admitted_by_minister is not null");
            return (Criteria) this;
        }

        public Criteria andAdmittedByMinisterEqualTo(String value) {
            addCriterion("admitted_by_minister =", value, "admittedByMinister");
            return (Criteria) this;
        }

        public Criteria andAdmittedByMinisterNotEqualTo(String value) {
            addCriterion("admitted_by_minister <>", value, "admittedByMinister");
            return (Criteria) this;
        }

        public Criteria andAdmittedByMinisterGreaterThan(String value) {
            addCriterion("admitted_by_minister >", value, "admittedByMinister");
            return (Criteria) this;
        }

        public Criteria andAdmittedByMinisterGreaterThanOrEqualTo(String value) {
            addCriterion("admitted_by_minister >=", value, "admittedByMinister");
            return (Criteria) this;
        }

        public Criteria andAdmittedByMinisterLessThan(String value) {
            addCriterion("admitted_by_minister <", value, "admittedByMinister");
            return (Criteria) this;
        }

        public Criteria andAdmittedByMinisterLessThanOrEqualTo(String value) {
            addCriterion("admitted_by_minister <=", value, "admittedByMinister");
            return (Criteria) this;
        }

        public Criteria andAdmittedByMinisterLike(String value) {
            addCriterion("admitted_by_minister like", value, "admittedByMinister");
            return (Criteria) this;
        }

        public Criteria andAdmittedByMinisterNotLike(String value) {
            addCriterion("admitted_by_minister not like", value, "admittedByMinister");
            return (Criteria) this;
        }

        public Criteria andAdmittedByMinisterIn(List<String> values) {
            addCriterion("admitted_by_minister in", values, "admittedByMinister");
            return (Criteria) this;
        }

        public Criteria andAdmittedByMinisterNotIn(List<String> values) {
            addCriterion("admitted_by_minister not in", values, "admittedByMinister");
            return (Criteria) this;
        }

        public Criteria andAdmittedByMinisterBetween(String value1, String value2) {
            addCriterion("admitted_by_minister between", value1, value2, "admittedByMinister");
            return (Criteria) this;
        }

        public Criteria andAdmittedByMinisterNotBetween(String value1, String value2) {
            addCriterion("admitted_by_minister not between", value1, value2, "admittedByMinister");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("`status` is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("`status` is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("`status` =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("`status` <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("`status` >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("`status` >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("`status` <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("`status` <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("`status` in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("`status` not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("`status` between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("`status` not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andCreateAtIsNull() {
            addCriterion("create_at is null");
            return (Criteria) this;
        }

        public Criteria andCreateAtIsNotNull() {
            addCriterion("create_at is not null");
            return (Criteria) this;
        }

        public Criteria andCreateAtEqualTo(Date value) {
            addCriterion("create_at =", value, "createAt");
            return (Criteria) this;
        }

        public Criteria andCreateAtNotEqualTo(Date value) {
            addCriterion("create_at <>", value, "createAt");
            return (Criteria) this;
        }

        public Criteria andCreateAtGreaterThan(Date value) {
            addCriterion("create_at >", value, "createAt");
            return (Criteria) this;
        }

        public Criteria andCreateAtGreaterThanOrEqualTo(Date value) {
            addCriterion("create_at >=", value, "createAt");
            return (Criteria) this;
        }

        public Criteria andCreateAtLessThan(Date value) {
            addCriterion("create_at <", value, "createAt");
            return (Criteria) this;
        }

        public Criteria andCreateAtLessThanOrEqualTo(Date value) {
            addCriterion("create_at <=", value, "createAt");
            return (Criteria) this;
        }

        public Criteria andCreateAtIn(List<Date> values) {
            addCriterion("create_at in", values, "createAt");
            return (Criteria) this;
        }

        public Criteria andCreateAtNotIn(List<Date> values) {
            addCriterion("create_at not in", values, "createAt");
            return (Criteria) this;
        }

        public Criteria andCreateAtBetween(Date value1, Date value2) {
            addCriterion("create_at between", value1, value2, "createAt");
            return (Criteria) this;
        }

        public Criteria andCreateAtNotBetween(Date value1, Date value2) {
            addCriterion("create_at not between", value1, value2, "createAt");
            return (Criteria) this;
        }

        public Criteria andCreatedByGlobalIdIsNull() {
            addCriterion("created_by_global_id is null");
            return (Criteria) this;
        }

        public Criteria andCreatedByGlobalIdIsNotNull() {
            addCriterion("created_by_global_id is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedByGlobalIdEqualTo(String value) {
            addCriterion("created_by_global_id =", value, "createdByGlobalId");
            return (Criteria) this;
        }

        public Criteria andCreatedByGlobalIdNotEqualTo(String value) {
            addCriterion("created_by_global_id <>", value, "createdByGlobalId");
            return (Criteria) this;
        }

        public Criteria andCreatedByGlobalIdGreaterThan(String value) {
            addCriterion("created_by_global_id >", value, "createdByGlobalId");
            return (Criteria) this;
        }

        public Criteria andCreatedByGlobalIdGreaterThanOrEqualTo(String value) {
            addCriterion("created_by_global_id >=", value, "createdByGlobalId");
            return (Criteria) this;
        }

        public Criteria andCreatedByGlobalIdLessThan(String value) {
            addCriterion("created_by_global_id <", value, "createdByGlobalId");
            return (Criteria) this;
        }

        public Criteria andCreatedByGlobalIdLessThanOrEqualTo(String value) {
            addCriterion("created_by_global_id <=", value, "createdByGlobalId");
            return (Criteria) this;
        }

        public Criteria andCreatedByGlobalIdLike(String value) {
            addCriterion("created_by_global_id like", value, "createdByGlobalId");
            return (Criteria) this;
        }

        public Criteria andCreatedByGlobalIdNotLike(String value) {
            addCriterion("created_by_global_id not like", value, "createdByGlobalId");
            return (Criteria) this;
        }

        public Criteria andCreatedByGlobalIdIn(List<String> values) {
            addCriterion("created_by_global_id in", values, "createdByGlobalId");
            return (Criteria) this;
        }

        public Criteria andCreatedByGlobalIdNotIn(List<String> values) {
            addCriterion("created_by_global_id not in", values, "createdByGlobalId");
            return (Criteria) this;
        }

        public Criteria andCreatedByGlobalIdBetween(String value1, String value2) {
            addCriterion("created_by_global_id between", value1, value2, "createdByGlobalId");
            return (Criteria) this;
        }

        public Criteria andCreatedByGlobalIdNotBetween(String value1, String value2) {
            addCriterion("created_by_global_id not between", value1, value2, "createdByGlobalId");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusIsNull() {
            addCriterion("delete_status is null");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusIsNotNull() {
            addCriterion("delete_status is not null");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusEqualTo(Integer value) {
            addCriterion("delete_status =", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusNotEqualTo(Integer value) {
            addCriterion("delete_status <>", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusGreaterThan(Integer value) {
            addCriterion("delete_status >", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("delete_status >=", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusLessThan(Integer value) {
            addCriterion("delete_status <", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusLessThanOrEqualTo(Integer value) {
            addCriterion("delete_status <=", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusIn(List<Integer> values) {
            addCriterion("delete_status in", values, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusNotIn(List<Integer> values) {
            addCriterion("delete_status not in", values, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusBetween(Integer value1, Integer value2) {
            addCriterion("delete_status between", value1, value2, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("delete_status not between", value1, value2, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andLastUpdateAtIsNull() {
            addCriterion("last_update_at is null");
            return (Criteria) this;
        }

        public Criteria andLastUpdateAtIsNotNull() {
            addCriterion("last_update_at is not null");
            return (Criteria) this;
        }

        public Criteria andLastUpdateAtEqualTo(Date value) {
            addCriterion("last_update_at =", value, "lastUpdateAt");
            return (Criteria) this;
        }

        public Criteria andLastUpdateAtNotEqualTo(Date value) {
            addCriterion("last_update_at <>", value, "lastUpdateAt");
            return (Criteria) this;
        }

        public Criteria andLastUpdateAtGreaterThan(Date value) {
            addCriterion("last_update_at >", value, "lastUpdateAt");
            return (Criteria) this;
        }

        public Criteria andLastUpdateAtGreaterThanOrEqualTo(Date value) {
            addCriterion("last_update_at >=", value, "lastUpdateAt");
            return (Criteria) this;
        }

        public Criteria andLastUpdateAtLessThan(Date value) {
            addCriterion("last_update_at <", value, "lastUpdateAt");
            return (Criteria) this;
        }

        public Criteria andLastUpdateAtLessThanOrEqualTo(Date value) {
            addCriterion("last_update_at <=", value, "lastUpdateAt");
            return (Criteria) this;
        }

        public Criteria andLastUpdateAtIn(List<Date> values) {
            addCriterion("last_update_at in", values, "lastUpdateAt");
            return (Criteria) this;
        }

        public Criteria andLastUpdateAtNotIn(List<Date> values) {
            addCriterion("last_update_at not in", values, "lastUpdateAt");
            return (Criteria) this;
        }

        public Criteria andLastUpdateAtBetween(Date value1, Date value2) {
            addCriterion("last_update_at between", value1, value2, "lastUpdateAt");
            return (Criteria) this;
        }

        public Criteria andLastUpdateAtNotBetween(Date value1, Date value2) {
            addCriterion("last_update_at not between", value1, value2, "lastUpdateAt");
            return (Criteria) this;
        }

        public Criteria andUpdatedByGlobalIdIsNull() {
            addCriterion("updated_by_global_id is null");
            return (Criteria) this;
        }

        public Criteria andUpdatedByGlobalIdIsNotNull() {
            addCriterion("updated_by_global_id is not null");
            return (Criteria) this;
        }

        public Criteria andUpdatedByGlobalIdEqualTo(String value) {
            addCriterion("updated_by_global_id =", value, "updatedByGlobalId");
            return (Criteria) this;
        }

        public Criteria andUpdatedByGlobalIdNotEqualTo(String value) {
            addCriterion("updated_by_global_id <>", value, "updatedByGlobalId");
            return (Criteria) this;
        }

        public Criteria andUpdatedByGlobalIdGreaterThan(String value) {
            addCriterion("updated_by_global_id >", value, "updatedByGlobalId");
            return (Criteria) this;
        }

        public Criteria andUpdatedByGlobalIdGreaterThanOrEqualTo(String value) {
            addCriterion("updated_by_global_id >=", value, "updatedByGlobalId");
            return (Criteria) this;
        }

        public Criteria andUpdatedByGlobalIdLessThan(String value) {
            addCriterion("updated_by_global_id <", value, "updatedByGlobalId");
            return (Criteria) this;
        }

        public Criteria andUpdatedByGlobalIdLessThanOrEqualTo(String value) {
            addCriterion("updated_by_global_id <=", value, "updatedByGlobalId");
            return (Criteria) this;
        }

        public Criteria andUpdatedByGlobalIdLike(String value) {
            addCriterion("updated_by_global_id like", value, "updatedByGlobalId");
            return (Criteria) this;
        }

        public Criteria andUpdatedByGlobalIdNotLike(String value) {
            addCriterion("updated_by_global_id not like", value, "updatedByGlobalId");
            return (Criteria) this;
        }

        public Criteria andUpdatedByGlobalIdIn(List<String> values) {
            addCriterion("updated_by_global_id in", values, "updatedByGlobalId");
            return (Criteria) this;
        }

        public Criteria andUpdatedByGlobalIdNotIn(List<String> values) {
            addCriterion("updated_by_global_id not in", values, "updatedByGlobalId");
            return (Criteria) this;
        }

        public Criteria andUpdatedByGlobalIdBetween(String value1, String value2) {
            addCriterion("updated_by_global_id between", value1, value2, "updatedByGlobalId");
            return (Criteria) this;
        }

        public Criteria andUpdatedByGlobalIdNotBetween(String value1, String value2) {
            addCriterion("updated_by_global_id not between", value1, value2, "updatedByGlobalId");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}